using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace LitTools
{
    public class AssetsManager : MonoSingleton<AssetsManager>
    {
        public IAssetsLoader AssetLoader { get; set; }

        public void LoadAsset<T>(AssetsCatalog assetsCatalog, string assetKey, Action<T> onAssetLoad)
            where T : UnityEngine.Object
        {
            AssetLoader.Load(assetsCatalog, assetKey, onAssetLoad);
        }
    }
}